package cardCollections;

import static org.junit.Assert.assertTrue;

import java.io.IOException;

import org.junit.Test;

/**
 * 
 * @author akazero1
 * 
 */
public class shuffleTest {

	// Checks if the two decks are not equal.
	@Test
	/**
	 * Calls shuffle and compares to decks to confirm shuffle.
	 */
	public void testShuffle() throws IOException {
		Shoe d = new Shoe();
		Shoe d2 = new Shoe();
		d.restoreDeck();
		d2.restoreDeck();
		d.shuffle();
		assertTrue(d != d2);
		System.out.println(d.toString());
		System.out.println(d2.toString());
	}

}
